package com.nervenets.general.web.params;

import com.nervenets.general.aspect.validate.Unique;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class IdsParams implements Params {
    @ApiModelProperty("目标IDs")
    @NotEmpty
    @Unique
    private List<Long> targetIds;
}
